<template>
    
    <router-view></router-view>
    
    <tabbar v-if="isShowTabbar"></tabbar>
</template>

<script setup>
import { ref, watch } from 'vue';
import tabbar from '../components/tabbar.vue';
import { useRoute } from 'vue-router';
import { useRouter } from 'vue-router';
const isShowTabbar = ref(true)
const route = useRoute()
const router = useRouter()
watch(
    () => route.meta,
    val => {
        isShowTabbar.value = val.isTab
    }
)
</script>